package com.example.group2_pro.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.group2_pro.entity.Books;
import com.example.group2_pro.service.BooksService;
import com.example.group2_pro.mapper.BooksMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author Gaszxd
* @description 针对表【books】的数据库操作Service实现
* @createDate 2024-11-12 11:24:18
*/
@Service
public class BooksServiceImpl extends ServiceImpl<BooksMapper, Books>
    implements BooksService{
    @Resource
    private BooksMapper booksMapper;
    @Override
    public List<Books> findAll() {
        return booksMapper.findAll();
    }
}




